using System;
using System.Collections.Generic;
using System.Text;

namespace RStarTree
{
    public interface Streamable
    {
        //Data Header
      int  getDataHeaderSize();
      void readDataHeader (byte[] input_buffer) ; 
      void readFromBuffer (byte[] input_buffer) ;
        //--------------------------------------------------------------------------
    //Data Body
      int  getSize();
      void writeDataHeader(byte[] output_buffer) ;
      void writeToBuffer  (byte[] output_buffer) ;
//--------------------------------------------------------------------------
    }
}
